package com.wanmait.mavendemo.serivce.impl;

import com.wanmait.mavendemo.mapper.QuestionTypeMapper;
import com.wanmait.mavendemo.pojo.QuestionType;
import com.wanmait.mavendemo.serivce.QuestionTypeService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
@Service
@Transactional(rollbackFor = Exception.class)
public class QuestionTypeServiceImpl implements QuestionTypeService {
    @Resource
    private QuestionTypeMapper questionTypeMapper;

    @Override
    public void insert(QuestionType object) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(QuestionType object) {

    }

    @Override
    public QuestionType findById(Integer id) {
        return null;
    }

    @Override
    public List<QuestionType> findAll() {
        return questionTypeMapper.selectList();
    }
}
